package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 会员卡 使用/售卖 范围 记录表
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@Accessors(chain = true)
@TableName("bus_vipcard_scope")
@TableAlias("vipcardScope")
@ApiModel(value = "BusVipcardScope对象", description = "会员卡 使用/售卖 范围 记录表")
public class BusVipcardScope {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "vipcardScopeId", type = IdType.ASSIGN_ID)
    private Long vipcardScopeId;

    @ApiModelProperty(value = "范围类型（1使用范围，2售卖范围）")
    private Integer scopeType;

    @ApiModelProperty(value = "机场Id")
    private Long airportId;

    @ApiModelProperty(value = "会员卡Id")
    private Long vipcardId;

}
